<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.ntp.NtpV3Impl类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1ntp_1_1NtpV3Impl.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1ntp_1_1NtpV3Impl-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.ntp.NtpV3Impl类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>NtpV3Packet 的实现类，包含将其他类型对象与 NtpV3Impl 相互转换的方法。  
 <a href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.ntp.NtpV3Impl 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1ntp_1_1NtpV3Impl.png" usemap="#commonsNet.ntp.NtpV3Impl_map" alt=""/>
  <map id="commonsNet.ntp.NtpV3Impl_map" name="commonsNet.ntp.NtpV3Impl_map">
<area href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html" title="RFC 1305 中描述的 NTP 数据消息头的接口，包含了对应字段的获取和设置方法。" alt="commonsNet.ntp.NtpV3Packet" shape="rect" coords="0,56,181,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7fd6b427ff40f71015d216af3b695bfe"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a7fd6b427ff40f71015d216af3b695bfe">init</a> ()</td></tr>
<tr class="memdesc:a7fd6b427ff40f71015d216af3b695bfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个默认的 NtpV3Impl 对象。  <br /></td></tr>
<tr class="separator:a7fd6b427ff40f71015d216af3b695bfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad855a763974df66a2cb44a8d87771a21"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ad855a763974df66a2cb44a8d87771a21">init</a> (useSocket: UdpSocket)</td></tr>
<tr class="memdesc:ad855a763974df66a2cb44a8d87771a21"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个默认的 NtpV3Impl 对象，并使用给定 UdpSocket 设置对象中 NTP 客户端使用的套接字。  <br /></td></tr>
<tr class="separator:ad855a763974df66a2cb44a8d87771a21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa13523a3b6d299ba18c4a6f5ff6d657d"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#aa13523a3b6d299ba18c4a6f5ff6d657d">equals</a> (obj: ?Object): Bool</td></tr>
<tr class="memdesc:aa13523a3b6d299ba18c4a6f5ff6d657d"><td class="mdescLeft">&#160;</td><td class="mdescRight">比较此对象与指定对象是否相等。当比较的对象为和此对象含有相同缓冲区信息的 NtpV3Impl 时返回 true ;否则返回 false 。  <br /></td></tr>
<tr class="separator:aa13523a3b6d299ba18c4a6f5ff6d657d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee44c964a2498ec7b09bfaaff2896302"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#aee44c964a2498ec7b09bfaaff2896302">getUdpSocket</a> (): UdpSocket</td></tr>
<tr class="memdesc:aee44c964a2498ec7b09bfaaff2896302"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 NTP 客户端使用的套接字。  <br /></td></tr>
<tr class="separator:aee44c964a2498ec7b09bfaaff2896302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85a4cb113ec02cf8f9e6e2647a41c782"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a85a4cb113ec02cf8f9e6e2647a41c782">getLeapIndicator</a> (): UInt32</td></tr>
<tr class="memdesc:a85a4cb113ec02cf8f9e6e2647a41c782"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回消息的跳跃指示符，如 RFC-1305 中的定义。  <br /></td></tr>
<tr class="separator:a85a4cb113ec02cf8f9e6e2647a41c782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d48d02592c35cae7002c5df0951cfac"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a5d48d02592c35cae7002c5df0951cfac">getMode</a> ()</td></tr>
<tr class="memdesc:a5d48d02592c35cae7002c5df0951cfac"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的模式，该模式是一个3位整数，其值由MODE_xxx参数指示。  <br /></td></tr>
<tr class="separator:a5d48d02592c35cae7002c5df0951cfac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c54db98a4c2f5653b12e9778db9d3f"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ab2c54db98a4c2f5653b12e9778db9d3f">getModeName</a> (): String</td></tr>
<tr class="memdesc:ab2c54db98a4c2f5653b12e9778db9d3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回消息模式类型对应的字符串，如RFC 1305所述。  <br /></td></tr>
<tr class="separator:ab2c54db98a4c2f5653b12e9778db9d3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e0292348a45c3a5d49637c238e7ff85"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a7e0292348a45c3a5d49637c238e7ff85">getOriginateTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="memdesc:a7e0292348a45c3a5d49637c238e7ff85"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的 originate 时间。  <br /></td></tr>
<tr class="separator:a7e0292348a45c3a5d49637c238e7ff85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a126a11b2d728fea09237ae3cc9ae9116"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a126a11b2d728fea09237ae3cc9ae9116">getPoll</a> (): Int32</td></tr>
<tr class="memdesc:a126a11b2d728fea09237ae3cc9ae9116"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的轮询间隔。  <br /></td></tr>
<tr class="separator:a126a11b2d728fea09237ae3cc9ae9116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f89347fe0dc80871ad9a8c46a8651b1"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a6f89347fe0dc80871ad9a8c46a8651b1">getPrecision</a> (): Int32</td></tr>
<tr class="memdesc:a6f89347fe0dc80871ad9a8c46a8651b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的精度，编码为8位有符号整数（以最接近的2的幂秒为单位）。值通常范围从-6到-20。  <br /></td></tr>
<tr class="separator:a6f89347fe0dc80871ad9a8c46a8651b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab046b40a0a7f12ac7fcd2e6a298eba60"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ab046b40a0a7f12ac7fcd2e6a298eba60">getReceiveTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="memdesc:ab046b40a0a7f12ac7fcd2e6a298eba60"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的 receive 时间戳。  <br /></td></tr>
<tr class="separator:ab046b40a0a7f12ac7fcd2e6a298eba60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d466aa8af20498c2cd6e924aa6e8a91"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a1d466aa8af20498c2cd6e924aa6e8a91">getReferenceId</a> (): Int32</td></tr>
<tr class="memdesc:a1d466aa8af20498c2cd6e924aa6e8a91"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的参考ID，这是一个32位整数。  <br /></td></tr>
<tr class="separator:a1d466aa8af20498c2cd6e924aa6e8a91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59a0a54db2776b9b7fb5b6518e01eaad"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a59a0a54db2776b9b7fb5b6518e01eaad">getReferenceIdString</a> (): String</td></tr>
<tr class="memdesc:a59a0a54db2776b9b7fb5b6518e01eaad"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回引用标识字符串。字符串的值取决于支持的NTP规范版本和层级。可能的值包括空字符串、时钟类型字符串、IP地址或十六进制字符串。  <br /></td></tr>
<tr class="separator:a59a0a54db2776b9b7fb5b6518e01eaad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88c97a42030a89684ea1c5616dd32f15"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a88c97a42030a89684ea1c5616dd32f15">getReferenceTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="memdesc:a88c97a42030a89684ea1c5616dd32f15"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的引用时间。  <br /></td></tr>
<tr class="separator:a88c97a42030a89684ea1c5616dd32f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63e9dfe9206902167bea690b7d099daa"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a63e9dfe9206902167bea690b7d099daa">getRootDelay</a> (): Int32</td></tr>
<tr class="memdesc:a63e9dfe9206902167bea690b7d099daa"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回根延迟，根据RFC-1305定义，即与主参考源的总往返延迟，单位为秒。值可以是正值也可以是负值，取决于时钟精度和偏差。  <br /></td></tr>
<tr class="separator:a63e9dfe9206902167bea690b7d099daa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d289e4fd3630342b874e344cf51641d"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a6d289e4fd3630342b874e344cf51641d">getRootDelayInMillisFloat64</a> (): Float64</td></tr>
<tr class="memdesc:a6d289e4fd3630342b874e344cf51641d"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回根延迟，根据RFC-1305定义，即与主参考源的总往返延迟，单位为毫秒。值可以是正值也可以是负值，取决于时钟精度和偏差。  <br /></td></tr>
<tr class="separator:a6d289e4fd3630342b874e344cf51641d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1833b940c671d91c921737ab24d3d65"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ad1833b940c671d91c921737ab24d3d65">getRootDispersion</a> (): Int32</td></tr>
<tr class="memdesc:ad1833b940c671d91c921737ab24d3d65"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回根离散度，根据RFC-1305定义。  <br /></td></tr>
<tr class="separator:ad1833b940c671d91c921737ab24d3d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7ee083f197d21a1b175e32e6bf9c4cc"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ae7ee083f197d21a1b175e32e6bf9c4cc">getRootDispersionInMillis</a> (): Int64</td></tr>
<tr class="memdesc:ae7ee083f197d21a1b175e32e6bf9c4cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回根离散度（根据RFC-1305定义），单位为毫秒。  <br /></td></tr>
<tr class="separator:ae7ee083f197d21a1b175e32e6bf9c4cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b2b80c2c65cfa599fa24408b0289eed"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a5b2b80c2c65cfa599fa24408b0289eed">getRootDispersionInMillisFloat64</a> (): Float64</td></tr>
<tr class="memdesc:a5b2b80c2c65cfa599fa24408b0289eed"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回根离散度（根据RFC-1305定义），单位为毫秒。  <br /></td></tr>
<tr class="separator:a5b2b80c2c65cfa599fa24408b0289eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5fce331dd9169e6aec5f2fc99d6d064"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ab5fce331dd9169e6aec5f2fc99d6d064">getStratum</a> (): UInt32</td></tr>
<tr class="memdesc:ab5fce331dd9169e6aec5f2fc99d6d064"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回层级，根据 RFC-1305 定义，指示本地时钟的层级。值定义如下：0=未指定，1=主参考时钟，其他所有值均为辅助参考。  <br /></td></tr>
<tr class="separator:ab5fce331dd9169e6aec5f2fc99d6d064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bd491c3281dafa99ea1ee788186b83c"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a6bd491c3281dafa99ea1ee788186b83c">getTransmitTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="memdesc:a6bd491c3281dafa99ea1ee788186b83c"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回RFC-1305中定义的传输时间戳。  <br /></td></tr>
<tr class="separator:a6bd491c3281dafa99ea1ee788186b83c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba4b587689f707993875e822e1aa6e56"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#aba4b587689f707993875e822e1aa6e56">getType</a> (): String</td></tr>
<tr class="memdesc:aba4b587689f707993875e822e1aa6e56"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回时间包的类型。值（例如NTP、TIME、ICMP等）对应于用于获取时间信息的协议。  <br /></td></tr>
<tr class="separator:aba4b587689f707993875e822e1aa6e56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4cfda12f2fb7c6d54774bca435890b7"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ac4cfda12f2fb7c6d54774bca435890b7">getVersion</a> (): UInt32</td></tr>
<tr class="memdesc:ac4cfda12f2fb7c6d54774bca435890b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回 NTP 版本号。  <br /></td></tr>
<tr class="separator:ac4cfda12f2fb7c6d54774bca435890b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af77ac77eff3940cc42855ad9d5528a9d"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#af77ac77eff3940cc42855ad9d5528a9d">hashCode</a> (): Int64</td></tr>
<tr class="memdesc:af77ac77eff3940cc42855ad9d5528a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算此对象的哈希码。  <br /></td></tr>
<tr class="separator:af77ac77eff3940cc42855ad9d5528a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fde499d10aa675ca888391fbd442cf7"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a0fde499d10aa675ca888391fbd442cf7">setSocketref</a> (srcDp: ?UdpSocket): Unit</td></tr>
<tr class="memdesc:a0fde499d10aa675ca888391fbd442cf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据 NTP 客户端使用的套接字对此对象进行设置。  <br /></td></tr>
<tr class="separator:a0fde499d10aa675ca888391fbd442cf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e27b8f51f293e971c7be2d402a90d17"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a2e27b8f51f293e971c7be2d402a90d17">setLeapIndicator</a> (li: Int32): Unit</td></tr>
<tr class="memdesc:a2e27b8f51f293e971c7be2d402a90d17"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的跳秒指示符。  <br /></td></tr>
<tr class="separator:a2e27b8f51f293e971c7be2d402a90d17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a4ae88743b5d124f547c09efdcb8787"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a1a4ae88743b5d124f547c09efdcb8787">setMode</a> (mode: Int32): Unit</td></tr>
<tr class="memdesc:a1a4ae88743b5d124f547c09efdcb8787"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的模式。  <br /></td></tr>
<tr class="separator:a1a4ae88743b5d124f547c09efdcb8787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c318f53ed0072c8c305ebea5d5740aa"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a8c318f53ed0072c8c305ebea5d5740aa">setOriginateTimeStamp</a> (ts: ?<a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:a8c318f53ed0072c8c305ebea5d5740aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用给定的NTP TimeStamp对象设置发起时间戳。如果 ts 为 None ，则使用零时间。  <br /></td></tr>
<tr class="separator:a8c318f53ed0072c8c305ebea5d5740aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4428ca43417f644ba68bf54c4fd89363"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a4428ca43417f644ba68bf54c4fd89363">setPoll</a> (poll: Int32): Unit</td></tr>
<tr class="memdesc:a4428ca43417f644ba68bf54c4fd89363"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的轮询间隔。  <br /></td></tr>
<tr class="separator:a4428ca43417f644ba68bf54c4fd89363"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36fdecb325562bb41477a624d36c2882"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a36fdecb325562bb41477a624d36c2882">setPrecision</a> (precision: Int32): Unit</td></tr>
<tr class="memdesc:a36fdecb325562bb41477a624d36c2882"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的精度。  <br /></td></tr>
<tr class="separator:a36fdecb325562bb41477a624d36c2882"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4de9a90145cc20b50f2124721b7f432a"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a4de9a90145cc20b50f2124721b7f432a">setReceiveTimeStamp</a> (ts: ?<a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:a4de9a90145cc20b50f2124721b7f432a"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用给定的 NTP TimeStamp 对象设置接收时间戳。如果 ts 为 None ，则使用零时间。  <br /></td></tr>
<tr class="separator:a4de9a90145cc20b50f2124721b7f432a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45bd49cc81eb1c2f5c2711cfd5556010"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a45bd49cc81eb1c2f5c2711cfd5556010">setReferenceId</a> (refId: UInt32): Unit</td></tr>
<tr class="memdesc:a45bd49cc81eb1c2f5c2711cfd5556010"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用32位无符号整数值设置引用时钟标识字段。参见RFC-1305的描述。  <br /></td></tr>
<tr class="separator:a45bd49cc81eb1c2f5c2711cfd5556010"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afea1d9d3e1d7d25441bd0f9b086a03a8"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#afea1d9d3e1d7d25441bd0f9b086a03a8">setReferenceTime</a> (ts: ?<a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:afea1d9d3e1d7d25441bd0f9b086a03a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用NTP时间戳设置参考时间。如果 ts 为 None ，则使用零时间。  <br /></td></tr>
<tr class="separator:afea1d9d3e1d7d25441bd0f9b086a03a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bda03bd7a2a11f7e181c474d8ffd2df"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a6bda03bd7a2a11f7e181c474d8ffd2df">setRootDelay</a> (delay: Int32): Unit</td></tr>
<tr class="memdesc:a6bda03bd7a2a11f7e181c474d8ffd2df"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的根延迟。  <br /></td></tr>
<tr class="separator:a6bda03bd7a2a11f7e181c474d8ffd2df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a9b1bf570f8a25291c20170a6c1130f"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a1a9b1bf570f8a25291c20170a6c1130f">setRootDispersion</a> (dispersion: Int32): Unit</td></tr>
<tr class="memdesc:a1a9b1bf570f8a25291c20170a6c1130f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的根离散度。  <br /></td></tr>
<tr class="separator:a1a9b1bf570f8a25291c20170a6c1130f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd26bce67d13a8fb0b536d1d734b0bf4"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#abd26bce67d13a8fb0b536d1d734b0bf4">setStratum</a> (stratum: Int64): Unit</td></tr>
<tr class="memdesc:abd26bce67d13a8fb0b536d1d734b0bf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的层级。  <br /></td></tr>
<tr class="separator:abd26bce67d13a8fb0b536d1d734b0bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae05151af2afb0a00f6fd1aeb1a602984"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ae05151af2afb0a00f6fd1aeb1a602984">setTransmitTime</a> (ts: ?<a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:ae05151af2afb0a00f6fd1aeb1a602984"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用NTP时间戳设置传输时间。如果 ts 为 None ，则使用零时间。  <br /></td></tr>
<tr class="separator:ae05151af2afb0a00f6fd1aeb1a602984"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27cbdd60dd715da206517ea6fc32f078"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a27cbdd60dd715da206517ea6fc32f078">setVersion</a> (version: UInt32): Unit</td></tr>
<tr class="memdesc:a27cbdd60dd715da206517ea6fc32f078"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置RFC-1305中定义的NTP版本。  <br /></td></tr>
<tr class="separator:a27cbdd60dd715da206517ea6fc32f078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd1001404ed25cf7f411c4482a0a0171"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#afd1001404ed25cf7f411c4482a0a0171">toString</a> (): String</td></tr>
<tr class="memdesc:afd1001404ed25cf7f411c4482a0a0171"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回NTP数据的详细信息字符串。  <br /></td></tr>
<tr class="separator:afd1001404ed25cf7f411c4482a0a0171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html">commonsNet.ntp.NtpV3Packet</a></td></tr>
<tr class="memitem:a7e96c5865a64870ba2ce1829a8659b49 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a7e96c5865a64870ba2ce1829a8659b49">getUdpSocket</a> (): UdpSocket</td></tr>
<tr class="memdesc:a7e96c5865a64870ba2ce1829a8659b49 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 NTP 客户端使用的的套接字。  <br /></td></tr>
<tr class="separator:a7e96c5865a64870ba2ce1829a8659b49 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd2e4ee05340ca72d774391567cb418 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a7bd2e4ee05340ca72d774391567cb418">getLeapIndicator</a> (): UInt32</td></tr>
<tr class="memdesc:a7bd2e4ee05340ca72d774391567cb418 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取跳秒指示符。  <br /></td></tr>
<tr class="separator:a7bd2e4ee05340ca72d774391567cb418 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1a60577907aed9da9105e269696bfdf inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ac1a60577907aed9da9105e269696bfdf">getMode</a> ():UInt32</td></tr>
<tr class="memdesc:ac1a60577907aed9da9105e269696bfdf inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 NTP 中使用的模式。  <br /></td></tr>
<tr class="separator:ac1a60577907aed9da9105e269696bfdf inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbb281d002f8a71a1a0885c566fc062b inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#abbb281d002f8a71a1a0885c566fc062b">getModeName</a> (): String</td></tr>
<tr class="memdesc:abbb281d002f8a71a1a0885c566fc062b inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 NTP 中使用的模式对应的字符串。例如 3=Client  <br /></td></tr>
<tr class="separator:abbb281d002f8a71a1a0885c566fc062b inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace09a2c84c997002c19279fa8ab49a61 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ace09a2c84c997002c19279fa8ab49a61">getOriginateTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="memdesc:ace09a2c84c997002c19279fa8ab49a61 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取源时间戳。  <br /></td></tr>
<tr class="separator:ace09a2c84c997002c19279fa8ab49a61 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62ec5b7a79bd28638228ea0ed96bb78a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a62ec5b7a79bd28638228ea0ed96bb78a">getPoll</a> (): Int32</td></tr>
<tr class="separator:a62ec5b7a79bd28638228ea0ed96bb78a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fefeb321f4507469590f4d91a2d7a57 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a1fefeb321f4507469590f4d91a2d7a57">getPrecision</a> (): Int32</td></tr>
<tr class="separator:a1fefeb321f4507469590f4d91a2d7a57 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b8c457d49ff388eabc43eb92d8f0a61 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a0b8c457d49ff388eabc43eb92d8f0a61">getReceiveTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="separator:a0b8c457d49ff388eabc43eb92d8f0a61 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87a10a202db469efd34dc2e570f40a5a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a87a10a202db469efd34dc2e570f40a5a">getReferenceId</a> (): Int32</td></tr>
<tr class="separator:a87a10a202db469efd34dc2e570f40a5a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71518f8569106f12d782f70885d9feb2 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a71518f8569106f12d782f70885d9feb2">getReferenceIdString</a> (): String</td></tr>
<tr class="separator:a71518f8569106f12d782f70885d9feb2 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab089b0b26783af1d4ffdcd59f314f3c8 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ab089b0b26783af1d4ffdcd59f314f3c8">getReferenceTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="separator:ab089b0b26783af1d4ffdcd59f314f3c8 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c3faa4c01cbce02a4320f8d1d6bcd8 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#aa4c3faa4c01cbce02a4320f8d1d6bcd8">getRootDelay</a> (): Int32</td></tr>
<tr class="separator:aa4c3faa4c01cbce02a4320f8d1d6bcd8 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c5e4529bfe1694f672b9613d485bb7 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ab4c5e4529bfe1694f672b9613d485bb7">getRootDelayInMillisFloat64</a> (): Float64</td></tr>
<tr class="separator:ab4c5e4529bfe1694f672b9613d485bb7 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecf8b501a8279f77a3724bf72668171b inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#aecf8b501a8279f77a3724bf72668171b">getRootDispersion</a> (): Int32</td></tr>
<tr class="separator:aecf8b501a8279f77a3724bf72668171b inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cfb18adf20eaaae87fb7969be09aed0 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a5cfb18adf20eaaae87fb7969be09aed0">getRootDispersionInMillis</a> (): Int64</td></tr>
<tr class="separator:a5cfb18adf20eaaae87fb7969be09aed0 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad26374e89440d46421506052e7627722 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ad26374e89440d46421506052e7627722">getRootDispersionInMillisFloat64</a> (): Float64</td></tr>
<tr class="separator:ad26374e89440d46421506052e7627722 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40ca16996d6e3fa123f519676687e7e9 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a40ca16996d6e3fa123f519676687e7e9">getStratum</a> (): UInt32</td></tr>
<tr class="separator:a40ca16996d6e3fa123f519676687e7e9 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92236fa08236748e726cf843f94a2b41 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a92236fa08236748e726cf843f94a2b41">getTransmitTimeStamp</a> (): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="separator:a92236fa08236748e726cf843f94a2b41 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab92e1ec8363b6cbe03036537b4b406d5 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ab92e1ec8363b6cbe03036537b4b406d5">getType</a> (): String</td></tr>
<tr class="memdesc:ab92e1ec8363b6cbe03036537b4b406d5 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回时间包的类型。值（例如 NTP、TIME、ICMP 等）对应于用于获取时间信息的协议。  <br /></td></tr>
<tr class="separator:ab92e1ec8363b6cbe03036537b4b406d5 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34090a8abb0dd770b642a2b0791121ae inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a34090a8abb0dd770b642a2b0791121ae">getVersion</a> (): UInt32</td></tr>
<tr class="separator:a34090a8abb0dd770b642a2b0791121ae inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab235ce215132dac9b101917e4726f6a1 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ab235ce215132dac9b101917e4726f6a1">setSocketref</a> (dp: ?UdpSocket): Unit</td></tr>
<tr class="memdesc:ab235ce215132dac9b101917e4726f6a1 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据 NTP 使用的套接字设置此对象的内容  <br /></td></tr>
<tr class="separator:ab235ce215132dac9b101917e4726f6a1 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09b1761ca8e126573c4b3eb192c32ec1 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a09b1761ca8e126573c4b3eb192c32ec1">setLeapIndicator</a> (li: Int32): Unit</td></tr>
<tr class="memdesc:a09b1761ca8e126573c4b3eb192c32ec1 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置跳秒指示符。  <br /></td></tr>
<tr class="separator:a09b1761ca8e126573c4b3eb192c32ec1 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad23fcac3bda308670962aa396e9bcbb5 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ad23fcac3bda308670962aa396e9bcbb5">setMode</a> (mode: Int32): Unit</td></tr>
<tr class="memdesc:ad23fcac3bda308670962aa396e9bcbb5 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置模式，如 RFC-1305 中定义  <br /></td></tr>
<tr class="separator:ad23fcac3bda308670962aa396e9bcbb5 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97737beb9bf339e72d19f633a725a168 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a97737beb9bf339e72d19f633a725a168">setOriginateTimeStamp</a> (ts: ? <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:a97737beb9bf339e72d19f633a725a168 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置源时间戳。  <br /></td></tr>
<tr class="separator:a97737beb9bf339e72d19f633a725a168 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66154105e9cd0b77bba3cde4058d1e93 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a66154105e9cd0b77bba3cde4058d1e93">setPoll</a> (poll: Int32): Unit</td></tr>
<tr class="memdesc:a66154105e9cd0b77bba3cde4058d1e93 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置轮询间隔，如 RFC-1305 中定义。字段范围在 NTP_MINPOLL 和 NTP_MAXPOLL 之间  <br /></td></tr>
<tr class="separator:a66154105e9cd0b77bba3cde4058d1e93 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab582eed511b06fe5954d76ceea77114a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ab582eed511b06fe5954d76ceea77114a">setPrecision</a> (precision: Int32): Unit</td></tr>
<tr class="memdesc:ab582eed511b06fe5954d76ceea77114a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置精度，如 RFC-1305 中定义  <br /></td></tr>
<tr class="separator:ab582eed511b06fe5954d76ceea77114a inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9d284182e049eec65a7dcadf8cf81f0 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#aa9d284182e049eec65a7dcadf8cf81f0">setReceiveTimeStamp</a> (ts: ? <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:aa9d284182e049eec65a7dcadf8cf81f0 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置接收时间戳。  <br /></td></tr>
<tr class="separator:aa9d284182e049eec65a7dcadf8cf81f0 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48c85214fd9fef8b216490c9617d48b6 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a48c85214fd9fef8b216490c9617d48b6">setReferenceId</a> (refId: UInt32): Unit</td></tr>
<tr class="memdesc:a48c85214fd9fef8b216490c9617d48b6 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置参考时钟标识字段。  <br /></td></tr>
<tr class="separator:a48c85214fd9fef8b216490c9617d48b6 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30a3abcc45de9f104e1f84d5d35fd811 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a30a3abcc45de9f104e1f84d5d35fd811">setReferenceTime</a> (ts: ? <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:a30a3abcc45de9f104e1f84d5d35fd811 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置参考时间戳。  <br /></td></tr>
<tr class="separator:a30a3abcc45de9f104e1f84d5d35fd811 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ceb251d6727ab7fdd2a6028f2d5a5e6 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a4ceb251d6727ab7fdd2a6028f2d5a5e6">setRootDelay</a> (delay: Int32): Unit</td></tr>
<tr class="memdesc:a4ceb251d6727ab7fdd2a6028f2d5a5e6 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置根延迟，如 RFC-1305 中定义。  <br /></td></tr>
<tr class="separator:a4ceb251d6727ab7fdd2a6028f2d5a5e6 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c469ad53409a0b4f0eff4e7ab4e3ceb inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#a4c469ad53409a0b4f0eff4e7ab4e3ceb">setRootDispersion</a> (dispersion: Int32): Unit</td></tr>
<tr class="memdesc:a4c469ad53409a0b4f0eff4e7ab4e3ceb inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置根离散度，如 RFC-1305 中定义。  <br /></td></tr>
<tr class="separator:a4c469ad53409a0b4f0eff4e7ab4e3ceb inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad27cfd1efb44e8a66c19c060297a751d inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#ad27cfd1efb44e8a66c19c060297a751d">setStratum</a> (stratum: Int64): Unit</td></tr>
<tr class="memdesc:ad27cfd1efb44e8a66c19c060297a751d inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置层级，如 RFC-1305 中定义。  <br /></td></tr>
<tr class="separator:ad27cfd1efb44e8a66c19c060297a751d inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c7488ca3652c81c86b985da193488d inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#af4c7488ca3652c81c86b985da193488d">setTransmitTime</a> (ts: ? <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:af4c7488ca3652c81c86b985da193488d inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置传输时间戳。  <br /></td></tr>
<tr class="separator:af4c7488ca3652c81c86b985da193488d inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ce48314dda3d00535bd4c4d2642b45 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Packet.html#af7ce48314dda3d00535bd4c4d2642b45">setVersion</a> (version: UInt32): Unit</td></tr>
<tr class="memdesc:af7ce48314dda3d00535bd4c4d2642b45 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置版本，如 RFC-1305 中定义。  <br /></td></tr>
<tr class="separator:af7ce48314dda3d00535bd4c4d2642b45 inherit pub_methods_classcommonsNet_1_1ntp_1_1NtpV3Packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:af781b984ef286b84ee0b8d55e370e628"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#af781b984ef286b84ee0b8d55e370e628">var buf</a> = Array&lt;UInt8&gt;(48, repeat: 0)</td></tr>
<tr class="memdesc:af781b984ef286b84ee0b8d55e370e628"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓冲区，用于保存 NTP 数据包的数据  <br /></td></tr>
<tr class="separator:af781b984ef286b84ee0b8d55e370e628"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59df5e58876b6f72b72f1eee7e28e196"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a59df5e58876b6f72b72f1eee7e28e196">var remote</a> : ?IPSocketAddress = None</td></tr>
<tr class="memdesc:a59df5e58876b6f72b72f1eee7e28e196"><td class="mdescLeft">&#160;</td><td class="mdescRight">要连接的远程端口。  <br /></td></tr>
<tr class="separator:a59df5e58876b6f72b72f1eee7e28e196"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:aaeaf68c9008944c20a8b714bb628628c"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#aaeaf68c9008944c20a8b714bb628628c">getInt32</a> (index: Int64): Int32</td></tr>
<tr class="memdesc:aaeaf68c9008944c20a8b714bb628628c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取从指定索引开始的4个字节，以32位有符号整数返回。  <br /></td></tr>
<tr class="separator:aaeaf68c9008944c20a8b714bb628628c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd17a93e7d97573063a795591f8c7a2b"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#acd17a93e7d97573063a795591f8c7a2b">getInt64</a> (index: Int64): Int64</td></tr>
<tr class="memdesc:acd17a93e7d97573063a795591f8c7a2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取从指定索引开始的位表示的64位有符号整数。  <br /></td></tr>
<tr class="separator:acd17a93e7d97573063a795591f8c7a2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21c398021bdb297e5319f3209eb4d1da"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a21c398021bdb297e5319f3209eb4d1da">getTimestamp</a> (index: Int64): <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a></td></tr>
<tr class="memdesc:a21c398021bdb297e5319f3209eb4d1da"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指定索引处的NTP时间戳。  <br /></td></tr>
<tr class="separator:a21c398021bdb297e5319f3209eb4d1da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af238df4d5e27f77741f58610fefca4a5"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#af238df4d5e27f77741f58610fefca4a5">idAsHex</a> (): String</td></tr>
<tr class="memdesc:af238df4d5e27f77741f58610fefca4a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回参考标识的十六进制字符串。  <br /></td></tr>
<tr class="separator:af238df4d5e27f77741f58610fefca4a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f1b4e3bf3bf1940e10e03210eccaddf"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a3f1b4e3bf3bf1940e10e03210eccaddf">idAsIPAddress</a> (): String</td></tr>
<tr class="memdesc:a3f1b4e3bf3bf1940e10e03210eccaddf"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回以点分 IP 地址表示的参考标识。  <br /></td></tr>
<tr class="separator:a3f1b4e3bf3bf1940e10e03210eccaddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a887d619ee0dda2b86afb653071d145c7"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a887d619ee0dda2b86afb653071d145c7">idAsString</a> (): String</td></tr>
<tr class="memdesc:a887d619ee0dda2b86afb653071d145c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回参考标识字符串。  <br /></td></tr>
<tr class="separator:a887d619ee0dda2b86afb653071d145c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02895af9566e6b3bafbbf3a6ffb7b12a"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a02895af9566e6b3bafbbf3a6ffb7b12a">setInt</a> (idx: Int64, value: Int32): Unit</td></tr>
<tr class="memdesc:a02895af9566e6b3bafbbf3a6ffb7b12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">在索引位置设置整数值。  <br /></td></tr>
<tr class="separator:a02895af9566e6b3bafbbf3a6ffb7b12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac45cb848ffcbcf220b24be0043a07c5a"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ac45cb848ffcbcf220b24be0043a07c5a">setTimestamp</a> (index: Int64, t: ?<a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a>): Unit</td></tr>
<tr class="memdesc:ac45cb848ffcbcf220b24be0043a07c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">在给定的数组索引处设置 NTP 时间戳。  <br /></td></tr>
<tr class="separator:ac45cb848ffcbcf220b24be0043a07c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a95012f2c4731e170eb90019418a92ffd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a95012f2c4731e170eb90019418a92ffd">let m</a> : MultiConditionMonitor = MultiConditionMonitor()</td></tr>
<tr class="separator:a95012f2c4731e170eb90019418a92ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afea8733a7c346946dfc86e373f0bbf62"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#afea8733a7c346946dfc86e373f0bbf62">static let MODE_INDEX</a> : Int64 = 0;</td></tr>
<tr class="memdesc:afea8733a7c346946dfc86e373f0bbf62"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中模式字段的起始位置。  <br /></td></tr>
<tr class="separator:afea8733a7c346946dfc86e373f0bbf62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a6bfe23dc5de8f298126b623042a0b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a3a6bfe23dc5de8f298126b623042a0b3">static let MODE_SHIFT</a> : Int32 = 0;</td></tr>
<tr class="memdesc:a3a6bfe23dc5de8f298126b623042a0b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">模式字段在 MODE_INDEX 位置的位移量。  <br /></td></tr>
<tr class="separator:a3a6bfe23dc5de8f298126b623042a0b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bb3f2678b4826feba552d012835b0d7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a6bb3f2678b4826feba552d012835b0d7">static let VERSION_INDEX</a> : Int64 = 0;</td></tr>
<tr class="memdesc:a6bb3f2678b4826feba552d012835b0d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中版本号字段的起始位置。  <br /></td></tr>
<tr class="separator:a6bb3f2678b4826feba552d012835b0d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e6b8f421ecd390e0b75f42a5f114a06"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a0e6b8f421ecd390e0b75f42a5f114a06">static let VERSION_SHIFT</a> : UInt32 = 3;</td></tr>
<tr class="memdesc:a0e6b8f421ecd390e0b75f42a5f114a06"><td class="mdescLeft">&#160;</td><td class="mdescRight">版本号字段在 VERSION_INDEX 位置的位移量。  <br /></td></tr>
<tr class="separator:a0e6b8f421ecd390e0b75f42a5f114a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04fd508fcf40f5d426a2bbd5f5b31c89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a04fd508fcf40f5d426a2bbd5f5b31c89">static let LI_INDEX</a> : Int64 = 0;</td></tr>
<tr class="memdesc:a04fd508fcf40f5d426a2bbd5f5b31c89"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中跳跃指示符字段的起始位置。  <br /></td></tr>
<tr class="separator:a04fd508fcf40f5d426a2bbd5f5b31c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03768641f6c5479755e51bae7c554b62"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a03768641f6c5479755e51bae7c554b62">static let LI_SHIFT</a> : UInt32 = 6;</td></tr>
<tr class="memdesc:a03768641f6c5479755e51bae7c554b62"><td class="mdescLeft">&#160;</td><td class="mdescRight">跳跃指示符字段在 LI_INDEX 位置的位移量。  <br /></td></tr>
<tr class="separator:a03768641f6c5479755e51bae7c554b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c0df99cd2128b5368e64403f6649a51"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a1c0df99cd2128b5368e64403f6649a51">static let STRATUM_INDEX</a> : Int64 = 1;</td></tr>
<tr class="memdesc:a1c0df99cd2128b5368e64403f6649a51"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中层级字段的位置。  <br /></td></tr>
<tr class="separator:a1c0df99cd2128b5368e64403f6649a51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af22bae9c824e9de0116004c69f944c89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#af22bae9c824e9de0116004c69f944c89">static let POLL_INDEX</a> : Int64 = 2;</td></tr>
<tr class="memdesc:af22bae9c824e9de0116004c69f944c89"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中轮询间隔字段的位置。  <br /></td></tr>
<tr class="separator:af22bae9c824e9de0116004c69f944c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc0f882280a30ad036269e5f1d99ede1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#afc0f882280a30ad036269e5f1d99ede1">static let PRECISION_INDEX</a> : Int64 = 3;</td></tr>
<tr class="memdesc:afc0f882280a30ad036269e5f1d99ede1"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中精度字段的位置。  <br /></td></tr>
<tr class="separator:afc0f882280a30ad036269e5f1d99ede1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abba0e54ec1e0e6e76f9d02292b9032bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#abba0e54ec1e0e6e76f9d02292b9032bd">static let ROOT_DELAY_INDEX</a> : Int64 = 4;</td></tr>
<tr class="memdesc:abba0e54ec1e0e6e76f9d02292b9032bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中根延迟字段的位置。  <br /></td></tr>
<tr class="separator:abba0e54ec1e0e6e76f9d02292b9032bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accf5ddf15ba2ae7e37cd776b06a322b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#accf5ddf15ba2ae7e37cd776b06a322b0">static let ROOT_DISPERSION_INDEX</a> : Int64 = 8;</td></tr>
<tr class="memdesc:accf5ddf15ba2ae7e37cd776b06a322b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中根离散度字段的位置。  <br /></td></tr>
<tr class="separator:accf5ddf15ba2ae7e37cd776b06a322b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3125b1782de17a6702d7433559a5f12"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ab3125b1782de17a6702d7433559a5f12">static let REFERENCE_ID_INDEX</a> : Int64 = 12;</td></tr>
<tr class="memdesc:ab3125b1782de17a6702d7433559a5f12"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中参考 ID 字段的位置。  <br /></td></tr>
<tr class="separator:ab3125b1782de17a6702d7433559a5f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2cb34e4ae53f1aa3f00214592db27d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#ae2cb34e4ae53f1aa3f00214592db27d9">static let REFERENCE_TIMESTAMP_INDEX</a> : Int64 = 16;</td></tr>
<tr class="memdesc:ae2cb34e4ae53f1aa3f00214592db27d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中参考时间戳字段的位置。  <br /></td></tr>
<tr class="separator:ae2cb34e4ae53f1aa3f00214592db27d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25d89cc329d7c8080f95e7f95b9bd036"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a25d89cc329d7c8080f95e7f95b9bd036">static let ORIGINATE_TIMESTAMP_INDEX</a> : Int64 = 24;</td></tr>
<tr class="memdesc:a25d89cc329d7c8080f95e7f95b9bd036"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中发起时间戳字段的位置。  <br /></td></tr>
<tr class="separator:a25d89cc329d7c8080f95e7f95b9bd036"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8275273a43ab0775df9b27b331dd0002"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a8275273a43ab0775df9b27b331dd0002">static let RECEIVE_TIMESTAMP_INDEX</a> : Int64 = 32;</td></tr>
<tr class="memdesc:a8275273a43ab0775df9b27b331dd0002"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中接收时间戳字段的位置。  <br /></td></tr>
<tr class="separator:a8275273a43ab0775df9b27b331dd0002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a914327c1da69d32817b917b3d7bda1ad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#a914327c1da69d32817b917b3d7bda1ad">static let TRANSMIT_TIMESTAMP_INDEX</a> : Int64 = 40;</td></tr>
<tr class="memdesc:a914327c1da69d32817b917b3d7bda1ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 数据包中传输时间戳字段的位置。  <br /></td></tr>
<tr class="separator:a914327c1da69d32817b917b3d7bda1ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea74a7c7ea4644940de7f5d29b6c752e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html#aea74a7c7ea4644940de7f5d29b6c752e">var dp</a> : ?UdpSocket = None;</td></tr>
<tr class="memdesc:aea74a7c7ea4644940de7f5d29b6c752e"><td class="mdescLeft">&#160;</td><td class="mdescRight">NTP 客户端使用的套接字。  <br /></td></tr>
<tr class="separator:aea74a7c7ea4644940de7f5d29b6c752e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>NtpV3Packet 的实现类，包含将其他类型对象与 NtpV3Impl 相互转换的方法。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a7fd6b427ff40f71015d216af3b695bfe" name="a7fd6b427ff40f71015d216af3b695bfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fd6b427ff40f71015d216af3b695bfe">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ntp.NtpV3Impl.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个默认的 NtpV3Impl 对象。 </p>

</div>
</div>
<a id="ad855a763974df66a2cb44a8d87771a21" name="ad855a763974df66a2cb44a8d87771a21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad855a763974df66a2cb44a8d87771a21">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ntp.NtpV3Impl.init </td>
          <td>(</td>
          <td class="paramname"><em>useSocket</em>:&#160;</td>
          <td class="paramtype">UdpSocket</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个默认的 NtpV3Impl 对象，并使用给定 UdpSocket 设置对象中 NTP 客户端使用的套接字。 </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aa13523a3b6d299ba18c4a6f5ff6d657d" name="aa13523a3b6d299ba18c4a6f5ff6d657d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa13523a3b6d299ba18c4a6f5ff6d657d">&#9670;&#160;</a></span>equals()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ntp.NtpV3Impl.equals </td>
          <td>(</td>
          <td class="paramname"><em>obj</em>:&#160;</td>
          <td class="paramtype">?Object</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>比较此对象与指定对象是否相等。当比较的对象为和此对象含有相同缓冲区信息的 NtpV3Impl 时返回 true ;否则返回 false 。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>要比较的对象。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果对象相同，则返回 <code class="JavaDocCode">true</code>；否则返回 <code class="JavaDocCode">false</code>。 </dd></dl>

</div>
</div>
<a id="aaeaf68c9008944c20a8b714bb628628c" name="aaeaf68c9008944c20a8b714bb628628c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaeaf68c9008944c20a8b714bb628628c">&#9670;&#160;</a></span>getInt32()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.getInt32 </td>
          <td>(</td>
          <td class="paramname"><em>index</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Int32 </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取从指定索引开始的4个字节，以32位有符号整数返回。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>起始索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>32位有符号整数 </dd></dl>

</div>
</div>
<a id="acd17a93e7d97573063a795591f8c7a2b" name="acd17a93e7d97573063a795591f8c7a2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd17a93e7d97573063a795591f8c7a2b">&#9670;&#160;</a></span>getInt64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.getInt64 </td>
          <td>(</td>
          <td class="paramname"><em>index</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取从指定索引开始的位表示的64位有符号整数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>开始索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>64位有符号整数 </dd></dl>

</div>
</div>
<a id="a85a4cb113ec02cf8f9e6e2647a41c782" name="a85a4cb113ec02cf8f9e6e2647a41c782"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85a4cb113ec02cf8f9e6e2647a41c782">&#9670;&#160;</a></span>getLeapIndicator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getLeapIndicator </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: UInt32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回消息的跳跃指示符，如 RFC-1305 中的定义。 </p>
<p>跳跃指示符是一个两位编码：0=无警告，1=最后一分钟有61秒，2=最后一分钟有59秒，3=警报条件（时钟不同步）。</p>
<dl class="section return"><dt>返回</dt><dd>消息的跳跃指示符。 </dd></dl>

</div>
</div>
<a id="a5d48d02592c35cae7002c5df0951cfac" name="a5d48d02592c35cae7002c5df0951cfac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d48d02592c35cae7002c5df0951cfac">&#9670;&#160;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getMode </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的模式，该模式是一个3位整数，其值由MODE_xxx参数指示。 </p>
<dl class="section return"><dt>返回</dt><dd>RFC-1305中定义的模式。 </dd></dl>

</div>
</div>
<a id="ab2c54db98a4c2f5653b12e9778db9d3f" name="ab2c54db98a4c2f5653b12e9778db9d3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2c54db98a4c2f5653b12e9778db9d3f">&#9670;&#160;</a></span>getModeName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getModeName </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回消息模式类型对应的字符串，如RFC 1305所述。 </p>
<dl class="section return"><dt>返回</dt><dd>模式名称字符串。 </dd></dl>

</div>
</div>
<a id="a7e0292348a45c3a5d49637c238e7ff85" name="a7e0292348a45c3a5d49637c238e7ff85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e0292348a45c3a5d49637c238e7ff85">&#9670;&#160;</a></span>getOriginateTimeStamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getOriginateTimeStamp </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a> </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的 originate 时间。 </p>
<dl class="section return"><dt>返回</dt><dd>发起时间 </dd></dl>

</div>
</div>
<a id="a126a11b2d728fea09237ae3cc9ae9116" name="a126a11b2d728fea09237ae3cc9ae9116"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a126a11b2d728fea09237ae3cc9ae9116">&#9670;&#160;</a></span>getPoll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getPoll </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的轮询间隔。 </p>
<p>这是一个八位有符号整数，表示连续消息之间的最大间隔，以最接近的2的幂秒为单位（例如，值为6表示64秒的间隔）。此字段的值的范围从 NTP_MINPOLL 到 NTP_MAXPOLL（包括边界）。</p>
<dl class="section return"><dt>返回</dt><dd>RFC-1305中定义的轮询间隔。 </dd></dl>

</div>
</div>
<a id="a6f89347fe0dc80871ad9a8c46a8651b1" name="a6f89347fe0dc80871ad9a8c46a8651b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f89347fe0dc80871ad9a8c46a8651b1">&#9670;&#160;</a></span>getPrecision()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getPrecision </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的精度，编码为8位有符号整数（以最接近的2的幂秒为单位）。值通常范围从-6到-20。 </p>
<dl class="section return"><dt>返回</dt><dd>RFC-1305中定义的精度。 </dd></dl>

</div>
</div>
<a id="ab046b40a0a7f12ac7fcd2e6a298eba60" name="ab046b40a0a7f12ac7fcd2e6a298eba60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab046b40a0a7f12ac7fcd2e6a298eba60">&#9670;&#160;</a></span>getReceiveTimeStamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getReceiveTimeStamp </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a> </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的 receive 时间戳。 </p>
<dl class="section return"><dt>返回</dt><dd>receive 时间 </dd></dl>

</div>
</div>
<a id="a1d466aa8af20498c2cd6e924aa6e8a91" name="a1d466aa8af20498c2cd6e924aa6e8a91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d466aa8af20498c2cd6e924aa6e8a91">&#9670;&#160;</a></span>getReferenceId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getReferenceId </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的参考ID，这是一个32位整数。 </p>
<dl class="section return"><dt>返回</dt><dd>RFC-1305中定义的参考ID </dd></dl>

</div>
</div>
<a id="a59a0a54db2776b9b7fb5b6518e01eaad" name="a59a0a54db2776b9b7fb5b6518e01eaad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59a0a54db2776b9b7fb5b6518e01eaad">&#9670;&#160;</a></span>getReferenceIdString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getReferenceIdString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回引用标识字符串。字符串的值取决于支持的NTP规范版本和层级。可能的值包括空字符串、时钟类型字符串、IP地址或十六进制字符串。 </p>
<dl class="section return"><dt>返回</dt><dd>引用标识字符串。 </dd></dl>

</div>
</div>
<a id="a88c97a42030a89684ea1c5616dd32f15" name="a88c97a42030a89684ea1c5616dd32f15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88c97a42030a89684ea1c5616dd32f15">&#9670;&#160;</a></span>getReferenceTimeStamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getReferenceTimeStamp </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a> </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的引用时间。 </p>
<dl class="section return"><dt>返回</dt><dd>引用时间 </dd></dl>

</div>
</div>
<a id="a63e9dfe9206902167bea690b7d099daa" name="a63e9dfe9206902167bea690b7d099daa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63e9dfe9206902167bea690b7d099daa">&#9670;&#160;</a></span>getRootDelay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getRootDelay </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回根延迟，根据RFC-1305定义，即与主参考源的总往返延迟，单位为秒。值可以是正值也可以是负值，取决于时钟精度和偏差。 </p>
<dl class="section return"><dt>返回</dt><dd>根延迟 </dd></dl>

</div>
</div>
<a id="a6d289e4fd3630342b874e344cf51641d" name="a6d289e4fd3630342b874e344cf51641d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d289e4fd3630342b874e344cf51641d">&#9670;&#160;</a></span>getRootDelayInMillisFloat64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getRootDelayInMillisFloat64 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Float64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回根延迟，根据RFC-1305定义，即与主参考源的总往返延迟，单位为毫秒。值可以是正值也可以是负值，取决于时钟精度和偏差。 </p>
<dl class="section return"><dt>返回</dt><dd>毫秒为单位的根延迟 </dd></dl>

</div>
</div>
<a id="ad1833b940c671d91c921737ab24d3d65" name="ad1833b940c671d91c921737ab24d3d65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1833b940c671d91c921737ab24d3d65">&#9670;&#160;</a></span>getRootDispersion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getRootDispersion </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回根离散度，根据RFC-1305定义。 </p>
<dl class="section return"><dt>返回</dt><dd>根离散度 </dd></dl>

</div>
</div>
<a id="ae7ee083f197d21a1b175e32e6bf9c4cc" name="ae7ee083f197d21a1b175e32e6bf9c4cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7ee083f197d21a1b175e32e6bf9c4cc">&#9670;&#160;</a></span>getRootDispersionInMillis()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getRootDispersionInMillis </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回根离散度（根据RFC-1305定义），单位为毫秒。 </p>
<dl class="section return"><dt>返回</dt><dd>毫秒为单位的根离散度 </dd></dl>

</div>
</div>
<a id="a5b2b80c2c65cfa599fa24408b0289eed" name="a5b2b80c2c65cfa599fa24408b0289eed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b2b80c2c65cfa599fa24408b0289eed">&#9670;&#160;</a></span>getRootDispersionInMillisFloat64()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getRootDispersionInMillisFloat64 </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Float64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回根离散度（根据RFC-1305定义），单位为毫秒。 </p>
<dl class="section return"><dt>返回</dt><dd>毫秒为单位的根离散度 </dd></dl>

</div>
</div>
<a id="ab5fce331dd9169e6aec5f2fc99d6d064" name="ab5fce331dd9169e6aec5f2fc99d6d064"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5fce331dd9169e6aec5f2fc99d6d064">&#9670;&#160;</a></span>getStratum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getStratum </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: UInt32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回层级，根据 RFC-1305 定义，指示本地时钟的层级。值定义如下：0=未指定，1=主参考时钟，其他所有值均为辅助参考。 </p>
<dl class="section return"><dt>返回</dt><dd>根据 RFC-1305 定义的层级 </dd></dl>

</div>
</div>
<a id="a21c398021bdb297e5319f3209eb4d1da" name="a21c398021bdb297e5319f3209eb4d1da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21c398021bdb297e5319f3209eb4d1da">&#9670;&#160;</a></span>getTimestamp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.getTimestamp </td>
          <td>(</td>
          <td class="paramname"><em>index</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a> </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取指定索引处的NTP时间戳。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>数据数组中的索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>从索引开始的64位时间戳对象 </dd></dl>

</div>
</div>
<a id="a6bd491c3281dafa99ea1ee788186b83c" name="a6bd491c3281dafa99ea1ee788186b83c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bd491c3281dafa99ea1ee788186b83c">&#9670;&#160;</a></span>getTransmitTimeStamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getTransmitTimeStamp </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: <a class="el" href="classcommonsNet_1_1ntp_1_1TimeStamp.html">TimeStamp</a> </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回RFC-1305中定义的传输时间戳。 </p>
<dl class="section return"><dt>返回</dt><dd>RFC-1305中定义的传输时间戳 </dd></dl>

</div>
</div>
<a id="aba4b587689f707993875e822e1aa6e56" name="aba4b587689f707993875e822e1aa6e56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba4b587689f707993875e822e1aa6e56">&#9670;&#160;</a></span>getType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getType </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回时间包的类型。值（例如NTP、TIME、ICMP等）对应于用于获取时间信息的协议。 </p>
<dl class="section return"><dt>返回</dt><dd>包类型字符串标识符，此处为"NTP"。 </dd></dl>

</div>
</div>
<a id="aee44c964a2498ec7b09bfaaff2896302" name="aee44c964a2498ec7b09bfaaff2896302"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee44c964a2498ec7b09bfaaff2896302">&#9670;&#160;</a></span>getUdpSocket()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getUdpSocket </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: UdpSocket </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回 NTP 客户端使用的套接字。 </p>
<dl class="section return"><dt>返回</dt><dd>NTP 客户端使用的套接字 </dd></dl>

</div>
</div>
<a id="ac4cfda12f2fb7c6d54774bca435890b7" name="ac4cfda12f2fb7c6d54774bca435890b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4cfda12f2fb7c6d54774bca435890b7">&#9670;&#160;</a></span>getVersion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.getVersion </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: UInt32 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回 NTP 版本号。 </p>
<dl class="section return"><dt>返回</dt><dd>NTP 版本号 </dd></dl>

</div>
</div>
<a id="af77ac77eff3940cc42855ad9d5528a9d" name="af77ac77eff3940cc42855ad9d5528a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af77ac77eff3940cc42855ad9d5528a9d">&#9670;&#160;</a></span>hashCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.hashCode </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>计算此对象的哈希码。 </p>
<dl class="section return"><dt>返回</dt><dd>此对象的哈希码值 </dd></dl>

</div>
</div>
<a id="af238df4d5e27f77741f58610fefca4a5" name="af238df4d5e27f77741f58610fefca4a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af238df4d5e27f77741f58610fefca4a5">&#9670;&#160;</a></span>idAsHex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.idAsHex </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回参考标识的十六进制字符串。 </p>
<dl class="section return"><dt>返回</dt><dd>参考标识字符串 </dd></dl>

</div>
</div>
<a id="a3f1b4e3bf3bf1940e10e03210eccaddf" name="a3f1b4e3bf3bf1940e10e03210eccaddf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f1b4e3bf3bf1940e10e03210eccaddf">&#9670;&#160;</a></span>idAsIPAddress()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.idAsIPAddress </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回以点分 IP 地址表示的参考标识。 </p>
<dl class="section return"><dt>返回</dt><dd>作为 IP 地址字符串的refId </dd></dl>

</div>
</div>
<a id="a887d619ee0dda2b86afb653071d145c7" name="a887d619ee0dda2b86afb653071d145c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a887d619ee0dda2b86afb653071d145c7">&#9670;&#160;</a></span>idAsString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.idAsString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回参考标识字符串。 </p>
<dl class="section return"><dt>返回</dt><dd>参考标识字符串。 </dd></dl>

</div>
</div>
<a id="a02895af9566e6b3bafbbf3a6ffb7b12a" name="a02895af9566e6b3bafbbf3a6ffb7b12a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02895af9566e6b3bafbbf3a6ffb7b12a">&#9670;&#160;</a></span>setInt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.setInt </td>
          <td>(</td>
          <td class="paramname"><em>idx</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>value</em>:&#160;</td>
          <td class="paramtype">Int32&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在索引位置设置整数值。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>索引位置 </td></tr>
    <tr><td class="paramname">value</td><td>32位整数值 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2e27b8f51f293e971c7be2d402a90d17" name="a2e27b8f51f293e971c7be2d402a90d17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e27b8f51f293e971c7be2d402a90d17">&#9670;&#160;</a></span>setLeapIndicator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setLeapIndicator </td>
          <td>(</td>
          <td class="paramname"><em>li</em>:&#160;</td>
          <td class="paramtype">Int32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的跳秒指示符。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">li</td><td>跳秒指示符。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1a4ae88743b5d124f547c09efdcb8787" name="a1a4ae88743b5d124f547c09efdcb8787"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a4ae88743b5d124f547c09efdcb8787">&#9670;&#160;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setMode </td>
          <td>(</td>
          <td class="paramname"><em>mode</em>:&#160;</td>
          <td class="paramtype">Int32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的模式。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>要设置的模式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8c318f53ed0072c8c305ebea5d5740aa" name="a8c318f53ed0072c8c305ebea5d5740aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c318f53ed0072c8c305ebea5d5740aa">&#9670;&#160;</a></span>setOriginateTimeStamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setOriginateTimeStamp </td>
          <td>(</td>
          <td class="paramname"><em>ts</em>:&#160;</td>
          <td class="paramtype">?TimeStamp</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用给定的NTP TimeStamp对象设置发起时间戳。如果 ts 为 None ，则使用零时间。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ts</td><td>NTP时间戳 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4428ca43417f644ba68bf54c4fd89363" name="a4428ca43417f644ba68bf54c4fd89363"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4428ca43417f644ba68bf54c4fd89363">&#9670;&#160;</a></span>setPoll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setPoll </td>
          <td>(</td>
          <td class="paramname"><em>poll</em>:&#160;</td>
          <td class="paramtype">Int32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的轮询间隔。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">poll</td><td>轮询间隔 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a36fdecb325562bb41477a624d36c2882" name="a36fdecb325562bb41477a624d36c2882"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36fdecb325562bb41477a624d36c2882">&#9670;&#160;</a></span>setPrecision()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setPrecision </td>
          <td>(</td>
          <td class="paramname"><em>precision</em>:&#160;</td>
          <td class="paramtype">Int32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的精度。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">precision</td><td>要设置的精度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4de9a90145cc20b50f2124721b7f432a" name="a4de9a90145cc20b50f2124721b7f432a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4de9a90145cc20b50f2124721b7f432a">&#9670;&#160;</a></span>setReceiveTimeStamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setReceiveTimeStamp </td>
          <td>(</td>
          <td class="paramname"><em>ts</em>:&#160;</td>
          <td class="paramtype">?TimeStamp</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用给定的 NTP TimeStamp 对象设置接收时间戳。如果 ts 为 None ，则使用零时间。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ts</td><td>时间戳 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a45bd49cc81eb1c2f5c2711cfd5556010" name="a45bd49cc81eb1c2f5c2711cfd5556010"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45bd49cc81eb1c2f5c2711cfd5556010">&#9670;&#160;</a></span>setReferenceId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setReferenceId </td>
          <td>(</td>
          <td class="paramname"><em>refId</em>:&#160;</td>
          <td class="paramtype">UInt32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用32位无符号整数值设置引用时钟标识字段。参见RFC-1305的描述。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">refId</td><td>引用时钟标识。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afea1d9d3e1d7d25441bd0f9b086a03a8" name="afea1d9d3e1d7d25441bd0f9b086a03a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afea1d9d3e1d7d25441bd0f9b086a03a8">&#9670;&#160;</a></span>setReferenceTime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setReferenceTime </td>
          <td>(</td>
          <td class="paramname"><em>ts</em>:&#160;</td>
          <td class="paramtype">?TimeStamp</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用NTP时间戳设置参考时间。如果 ts 为 None ，则使用零时间。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ts</td><td>NTP 时间戳 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6bda03bd7a2a11f7e181c474d8ffd2df" name="a6bda03bd7a2a11f7e181c474d8ffd2df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bda03bd7a2a11f7e181c474d8ffd2df">&#9670;&#160;</a></span>setRootDelay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setRootDelay </td>
          <td>(</td>
          <td class="paramname"><em>delay</em>:&#160;</td>
          <td class="paramtype">Int32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的根延迟。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">delay</td><td>根延迟 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1a9b1bf570f8a25291c20170a6c1130f" name="a1a9b1bf570f8a25291c20170a6c1130f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a9b1bf570f8a25291c20170a6c1130f">&#9670;&#160;</a></span>setRootDispersion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setRootDispersion </td>
          <td>(</td>
          <td class="paramname"><em>dispersion</em>:&#160;</td>
          <td class="paramtype">Int32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的根离散度。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dispersion</td><td>根离散度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0fde499d10aa675ca888391fbd442cf7" name="a0fde499d10aa675ca888391fbd442cf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fde499d10aa675ca888391fbd442cf7">&#9670;&#160;</a></span>setSocketref()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setSocketref </td>
          <td>(</td>
          <td class="paramname"><em>srcDp</em>:&#160;</td>
          <td class="paramtype">?UdpSocket</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据 NTP 客户端使用的套接字对此对象进行设置。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">srcDp</td><td>NTP 客户端使用的套接字 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IllegalArgumentException</td><td>如果srcDp为 None 或字节长度小于48字节的最小长度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abd26bce67d13a8fb0b536d1d734b0bf4" name="abd26bce67d13a8fb0b536d1d734b0bf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd26bce67d13a8fb0b536d1d734b0bf4">&#9670;&#160;</a></span>setStratum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setStratum </td>
          <td>(</td>
          <td class="paramname"><em>stratum</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的层级。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">stratum</td><td>层级 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac45cb848ffcbcf220b24be0043a07c5a" name="ac45cb848ffcbcf220b24be0043a07c5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac45cb848ffcbcf220b24be0043a07c5a">&#9670;&#160;</a></span>setTimestamp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ntp.NtpV3Impl.setTimestamp </td>
          <td>(</td>
          <td class="paramname"><em>index</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>t</em>:&#160;</td>
          <td class="paramtype">?TimeStamp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在给定的数组索引处设置 NTP 时间戳。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>索引到字节数组。 </td></tr>
    <tr><td class="paramname">t</td><td>TimeStamp </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae05151af2afb0a00f6fd1aeb1a602984" name="ae05151af2afb0a00f6fd1aeb1a602984"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae05151af2afb0a00f6fd1aeb1a602984">&#9670;&#160;</a></span>setTransmitTime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setTransmitTime </td>
          <td>(</td>
          <td class="paramname"><em>ts</em>:&#160;</td>
          <td class="paramtype">?TimeStamp</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用NTP时间戳设置传输时间。如果 ts 为 None ，则使用零时间。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ts</td><td>NTP时间戳 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a27cbdd60dd715da206517ea6fc32f078" name="a27cbdd60dd715da206517ea6fc32f078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27cbdd60dd715da206517ea6fc32f078">&#9670;&#160;</a></span>setVersion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func commonsNet.ntp.NtpV3Impl.setVersion </td>
          <td>(</td>
          <td class="paramname"><em>version</em>:&#160;</td>
          <td class="paramtype">UInt32</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置RFC-1305中定义的NTP版本。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">version</td><td>NTP版本 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afd1001404ed25cf7f411c4482a0a0171" name="afd1001404ed25cf7f411c4482a0a0171"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd1001404ed25cf7f411c4482a0a0171">&#9670;&#160;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ntp.NtpV3Impl.toString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回NTP数据的详细信息字符串。 </p>
<dl class="section return"><dt>返回</dt><dd>NTP数据的详细信息字符串 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a95012f2c4731e170eb90019418a92ffd" name="a95012f2c4731e170eb90019418a92ffd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95012f2c4731e170eb90019418a92ffd">&#9670;&#160;</a></span>let m</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.let m : MultiConditionMonitor = MultiConditionMonitor()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a04fd508fcf40f5d426a2bbd5f5b31c89" name="a04fd508fcf40f5d426a2bbd5f5b31c89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04fd508fcf40f5d426a2bbd5f5b31c89">&#9670;&#160;</a></span>static let LI_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let LI_INDEX : Int64 = 0;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中跳跃指示符字段的起始位置。 </p>

</div>
</div>
<a id="a03768641f6c5479755e51bae7c554b62" name="a03768641f6c5479755e51bae7c554b62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03768641f6c5479755e51bae7c554b62">&#9670;&#160;</a></span>static let LI_SHIFT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let LI_SHIFT : UInt32 = 6;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>跳跃指示符字段在 LI_INDEX 位置的位移量。 </p>

</div>
</div>
<a id="afea8733a7c346946dfc86e373f0bbf62" name="afea8733a7c346946dfc86e373f0bbf62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afea8733a7c346946dfc86e373f0bbf62">&#9670;&#160;</a></span>static let MODE_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let MODE_INDEX : Int64 = 0;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中模式字段的起始位置。 </p>

</div>
</div>
<a id="a3a6bfe23dc5de8f298126b623042a0b3" name="a3a6bfe23dc5de8f298126b623042a0b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a6bfe23dc5de8f298126b623042a0b3">&#9670;&#160;</a></span>static let MODE_SHIFT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let MODE_SHIFT : Int32 = 0;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>模式字段在 MODE_INDEX 位置的位移量。 </p>

</div>
</div>
<a id="a25d89cc329d7c8080f95e7f95b9bd036" name="a25d89cc329d7c8080f95e7f95b9bd036"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25d89cc329d7c8080f95e7f95b9bd036">&#9670;&#160;</a></span>static let ORIGINATE_TIMESTAMP_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let ORIGINATE_TIMESTAMP_INDEX : Int64 = 24;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中发起时间戳字段的位置。 </p>

</div>
</div>
<a id="af22bae9c824e9de0116004c69f944c89" name="af22bae9c824e9de0116004c69f944c89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af22bae9c824e9de0116004c69f944c89">&#9670;&#160;</a></span>static let POLL_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let POLL_INDEX : Int64 = 2;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中轮询间隔字段的位置。 </p>

</div>
</div>
<a id="afc0f882280a30ad036269e5f1d99ede1" name="afc0f882280a30ad036269e5f1d99ede1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc0f882280a30ad036269e5f1d99ede1">&#9670;&#160;</a></span>static let PRECISION_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let PRECISION_INDEX : Int64 = 3;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中精度字段的位置。 </p>

</div>
</div>
<a id="a8275273a43ab0775df9b27b331dd0002" name="a8275273a43ab0775df9b27b331dd0002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8275273a43ab0775df9b27b331dd0002">&#9670;&#160;</a></span>static let RECEIVE_TIMESTAMP_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let RECEIVE_TIMESTAMP_INDEX : Int64 = 32;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中接收时间戳字段的位置。 </p>

</div>
</div>
<a id="ab3125b1782de17a6702d7433559a5f12" name="ab3125b1782de17a6702d7433559a5f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3125b1782de17a6702d7433559a5f12">&#9670;&#160;</a></span>static let REFERENCE_ID_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let REFERENCE_ID_INDEX : Int64 = 12;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中参考 ID 字段的位置。 </p>

</div>
</div>
<a id="ae2cb34e4ae53f1aa3f00214592db27d9" name="ae2cb34e4ae53f1aa3f00214592db27d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2cb34e4ae53f1aa3f00214592db27d9">&#9670;&#160;</a></span>static let REFERENCE_TIMESTAMP_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let REFERENCE_TIMESTAMP_INDEX : Int64 = 16;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中参考时间戳字段的位置。 </p>

</div>
</div>
<a id="abba0e54ec1e0e6e76f9d02292b9032bd" name="abba0e54ec1e0e6e76f9d02292b9032bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abba0e54ec1e0e6e76f9d02292b9032bd">&#9670;&#160;</a></span>static let ROOT_DELAY_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let ROOT_DELAY_INDEX : Int64 = 4;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中根延迟字段的位置。 </p>

</div>
</div>
<a id="accf5ddf15ba2ae7e37cd776b06a322b0" name="accf5ddf15ba2ae7e37cd776b06a322b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accf5ddf15ba2ae7e37cd776b06a322b0">&#9670;&#160;</a></span>static let ROOT_DISPERSION_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let ROOT_DISPERSION_INDEX : Int64 = 8;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中根离散度字段的位置。 </p>

</div>
</div>
<a id="a1c0df99cd2128b5368e64403f6649a51" name="a1c0df99cd2128b5368e64403f6649a51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c0df99cd2128b5368e64403f6649a51">&#9670;&#160;</a></span>static let STRATUM_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let STRATUM_INDEX : Int64 = 1;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中层级字段的位置。 </p>

</div>
</div>
<a id="a914327c1da69d32817b917b3d7bda1ad" name="a914327c1da69d32817b917b3d7bda1ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a914327c1da69d32817b917b3d7bda1ad">&#9670;&#160;</a></span>static let TRANSMIT_TIMESTAMP_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let TRANSMIT_TIMESTAMP_INDEX : Int64 = 40;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中传输时间戳字段的位置。 </p>

</div>
</div>
<a id="a6bb3f2678b4826feba552d012835b0d7" name="a6bb3f2678b4826feba552d012835b0d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bb3f2678b4826feba552d012835b0d7">&#9670;&#160;</a></span>static let VERSION_INDEX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let VERSION_INDEX : Int64 = 0;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 数据包中版本号字段的起始位置。 </p>

</div>
</div>
<a id="a0e6b8f421ecd390e0b75f42a5f114a06" name="a0e6b8f421ecd390e0b75f42a5f114a06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e6b8f421ecd390e0b75f42a5f114a06">&#9670;&#160;</a></span>static let VERSION_SHIFT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.static let VERSION_SHIFT : UInt32 = 3;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>版本号字段在 VERSION_INDEX 位置的位移量。 </p>

</div>
</div>
<a id="af781b984ef286b84ee0b8d55e370e628" name="af781b984ef286b84ee0b8d55e370e628"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af781b984ef286b84ee0b8d55e370e628">&#9670;&#160;</a></span>var buf</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.var buf = Array&lt;UInt8&gt;(48, repeat: 0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>缓冲区，用于保存 NTP 数据包的数据 </p>

</div>
</div>
<a id="aea74a7c7ea4644940de7f5d29b6c752e" name="aea74a7c7ea4644940de7f5d29b6c752e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea74a7c7ea4644940de7f5d29b6c752e">&#9670;&#160;</a></span>var dp</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.var dp : ?UdpSocket = None;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>NTP 客户端使用的套接字。 </p>

</div>
</div>
<a id="a59df5e58876b6f72b72f1eee7e28e196" name="a59df5e58876b6f72b72f1eee7e28e196"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59df5e58876b6f72b72f1eee7e28e196">&#9670;&#160;</a></span>var remote</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ntp.NtpV3Impl.var remote : ?IPSocketAddress = None</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>要连接的远程端口。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/ntp/<a class="el" href="ntpV3__impl_8cj.html">ntpV3_impl.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1ntp.html">ntp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1ntp_1_1NtpV3Impl.html">NtpV3Impl</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
